Shopglut\showcase\Swatches\dataManage D

Total Complexity 136
Dependencies 0
Dependents 1
Total lines 1,109
Lines of code 784
Logical lines of code 369
Comment lines 252
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
product_attribute_shape()
B
30 12 172
get_term_template()
A
39 10 76
term_meta_fields_markup()
A
47 10 36
product_settings_wrapper()
A
45 8 45
attribute_wrapper()
A
44 8 45
save_swatches()
S
52 7 22
add_preview_markup()
S
52 7 22
save_product_attribute_shape()
S
56 6 18
reset_swatches()
S
56 5 16
update_swatches()
S
57 5 15
attribute_type_wrapper()
S
56 4 20
add_swatch_types()
S
56 4 18
add_attribute_column()
S
57 4 17
product_attribute_template()
S
48 2 43
check_attr_variation()
S
62 4 13
term_meta_fields()
S
55 3 20
__construct()
S
53 3 20
get_attr_type_by_name()
S
63 4 9
save_term_fields()
S
62 3 12
edit_form_fields()
S
58 2 18
panel_wrapper()
S
59 2 17
swatches_settings()
S
60 2 16
taxonomy_section()
S
67 3 8
return_swatches_template()
S
63 3 10
add_form_fields()
S
60 2 14
remove_blank_array()
S
68 2 8
get_instance()
S
70 2 7
sanitize_recursively()
S
67 2 8
update_reset_swatches_template()
S
64 2 10
is_visible()
S
80 1 3
swatches_tab()
S
65 1 9
swatches_panel()
S
74 1 5
type_of_attributes()
S
68 1 7
clean_up_previous_swatches_data()
S
71 1 5